const {
	db,
	dbCmd,
	result_success,
	result_error,
	bluetoothCollection
} = require('../../common/constants')
module.exports = async function(params = {}) {
	/* let bluetooth = await bluetoothCollection.doc(params.id).get()
	bluetooth=bluetooth.data[0] */
	bluetoothCollection.where({
		open_id:params.id
	}).remove()
	// await bluetoothCollection.doc(params.id).remove()
	return result_success()
}